package demo;

public class Demo7 {
    public static void main(String[] args) {
        Person person = new Person();
        person.setName("张三");
        person.setAge(20);
        person.setBirthday("2000-11-11");
        Person person1 = new Person("李四",30);
        System.out.println(person1.getName());
        System.out.println(person1.getAge());
        Person person2 = new Person("王五");
        person2.setAge(20);


        Person person3 = new Student();
        Person person4 = new Teacher();
        Person person5 = new Monk();
        //demo.Student student = new demo.Person();
    }
}
